<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script>
    var a = [1,2,3];
   a.splice(2,0,[4,5,6]);
    console.log(a);
</script>
</body>
</html>